package com.starinside.wp.repository.teststore;

import com.starinside.wp.domain.Children;
import com.starinside.wp.domain.familyTest.TestStoreObsPoint;
import com.starinside.wp.domain.familyTest.TestStoreObsPointOption;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * *******************************
 * Created by Tim.
 * form com.matt
 * on 2017/7/13
 * *******************************
 */
@Repository
public interface TestStoreObsPointOptionRepository extends JpaRepository<TestStoreObsPointOption, Integer>, JpaSpecificationExecutor<TestStoreObsPointOption> {

    TestStoreObsPointOption findByIdAndAndObsPointAndIsDelete(Integer id, TestStoreObsPoint obsPoint, Boolean isDelete);

}
